﻿
namespace Komunikator.Web
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;
    using System.Data.Objects.DataClasses;
    using System.Linq;
    using System.ServiceModel.DomainServices.Hosting;
    using System.ServiceModel.DomainServices.Server;


    // The MetadataTypeAttribute identifies aspnet_ApplicationsMetadata as the class
    // that carries additional metadata for the aspnet_Applications class.
    [MetadataTypeAttribute(typeof(aspnet_Applications.aspnet_ApplicationsMetadata))]
    public partial class aspnet_Applications
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_Applications class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_ApplicationsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_ApplicationsMetadata()
            {
            }

            public Guid ApplicationId { get; set; }

            public string ApplicationName { get; set; }

            public EntityCollection<aspnet_Membership> aspnet_Membership { get; set; }

            public EntityCollection<aspnet_Paths> aspnet_Paths { get; set; }

            public EntityCollection<aspnet_Roles> aspnet_Roles { get; set; }

            public EntityCollection<aspnet_Users> aspnet_Users { get; set; }

            public string Description { get; set; }

            public string LoweredApplicationName { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_MembershipMetadata as the class
    // that carries additional metadata for the aspnet_Membership class.
    [MetadataTypeAttribute(typeof(aspnet_Membership.aspnet_MembershipMetadata))]
    public partial class aspnet_Membership
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_Membership class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_MembershipMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_MembershipMetadata()
            {
            }

            public Guid ApplicationId { get; set; }

            public aspnet_Applications aspnet_Applications { get; set; }

            public aspnet_Users aspnet_Users { get; set; }

            public string Comment { get; set; }

            public DateTime CreateDate { get; set; }

            public string Email { get; set; }

            public int FailedPasswordAnswerAttemptCount { get; set; }

            public DateTime FailedPasswordAnswerAttemptWindowStart { get; set; }

            public int FailedPasswordAttemptCount { get; set; }

            public DateTime FailedPasswordAttemptWindowStart { get; set; }

            public bool IsApproved { get; set; }

            public bool IsLockedOut { get; set; }

            public DateTime LastLockoutDate { get; set; }

            public DateTime LastLoginDate { get; set; }

            public DateTime LastPasswordChangedDate { get; set; }

            public string LoweredEmail { get; set; }

            public string MobilePIN { get; set; }

            public string Password { get; set; }

            public string PasswordAnswer { get; set; }

            public int PasswordFormat { get; set; }

            public string PasswordQuestion { get; set; }

            public string PasswordSalt { get; set; }

            public Guid UserId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_PathsMetadata as the class
    // that carries additional metadata for the aspnet_Paths class.
    [MetadataTypeAttribute(typeof(aspnet_Paths.aspnet_PathsMetadata))]
    public partial class aspnet_Paths
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_Paths class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_PathsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_PathsMetadata()
            {
            }

            public Guid ApplicationId { get; set; }

            public aspnet_Applications aspnet_Applications { get; set; }

            public aspnet_PersonalizationAllUsers aspnet_PersonalizationAllUsers { get; set; }

            public EntityCollection<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUser { get; set; }

            public string LoweredPath { get; set; }

            public string Path { get; set; }

            public Guid PathId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_PersonalizationAllUsersMetadata as the class
    // that carries additional metadata for the aspnet_PersonalizationAllUsers class.
    [MetadataTypeAttribute(typeof(aspnet_PersonalizationAllUsers.aspnet_PersonalizationAllUsersMetadata))]
    public partial class aspnet_PersonalizationAllUsers
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_PersonalizationAllUsers class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_PersonalizationAllUsersMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_PersonalizationAllUsersMetadata()
            {
            }

            public aspnet_Paths aspnet_Paths { get; set; }

            public DateTime LastUpdatedDate { get; set; }

            public byte[] PageSettings { get; set; }

            public Guid PathId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_PersonalizationPerUserMetadata as the class
    // that carries additional metadata for the aspnet_PersonalizationPerUser class.
    [MetadataTypeAttribute(typeof(aspnet_PersonalizationPerUser.aspnet_PersonalizationPerUserMetadata))]
    public partial class aspnet_PersonalizationPerUser
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_PersonalizationPerUser class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_PersonalizationPerUserMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_PersonalizationPerUserMetadata()
            {
            }

            public aspnet_Paths aspnet_Paths { get; set; }

            public aspnet_Users aspnet_Users { get; set; }

            public Guid Id { get; set; }

            public DateTime LastUpdatedDate { get; set; }

            public byte[] PageSettings { get; set; }

            public Nullable<Guid> PathId { get; set; }

            public Nullable<Guid> UserId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_ProfileMetadata as the class
    // that carries additional metadata for the aspnet_Profile class.
    [MetadataTypeAttribute(typeof(aspnet_Profile.aspnet_ProfileMetadata))]
    public partial class aspnet_Profile
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_Profile class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_ProfileMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_ProfileMetadata()
            {
            }

            public aspnet_Users aspnet_Users { get; set; }

            public DateTime LastUpdatedDate { get; set; }

            public string PropertyNames { get; set; }

            public byte[] PropertyValuesBinary { get; set; }

            public string PropertyValuesString { get; set; }

            public Guid UserId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_RolesMetadata as the class
    // that carries additional metadata for the aspnet_Roles class.
    [MetadataTypeAttribute(typeof(aspnet_Roles.aspnet_RolesMetadata))]
    public partial class aspnet_Roles
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_Roles class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_RolesMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_RolesMetadata()
            {
            }

            public Guid ApplicationId { get; set; }

            public aspnet_Applications aspnet_Applications { get; set; }

            public EntityCollection<aspnet_Users> aspnet_Users { get; set; }

            public string Description { get; set; }

            public string LoweredRoleName { get; set; }

            public Guid RoleId { get; set; }

            public string RoleName { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies aspnet_UsersMetadata as the class
    // that carries additional metadata for the aspnet_Users class.
    [MetadataTypeAttribute(typeof(aspnet_Users.aspnet_UsersMetadata))]
    public partial class aspnet_Users
    {

        // This class allows you to attach custom attributes to properties
        // of the aspnet_Users class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class aspnet_UsersMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private aspnet_UsersMetadata()
            {
            }

            public Guid ApplicationId { get; set; }

            public aspnet_Applications aspnet_Applications { get; set; }

            public aspnet_Membership aspnet_Membership { get; set; }

            public EntityCollection<aspnet_PersonalizationPerUser> aspnet_PersonalizationPerUser { get; set; }

            public aspnet_Profile aspnet_Profile { get; set; }

            public EntityCollection<aspnet_Roles> aspnet_Roles { get; set; }

            public EntityCollection<ContactLists> ContactLists { get; set; }

            public EntityCollection<Conversations> Conversations { get; set; }

            public EntityCollection<Conversations> Conversations1 { get; set; }

            public bool IsAnonymous { get; set; }

            public DateTime LastActivityDate { get; set; }

            public string LoweredUserName { get; set; }

            public EntityCollection<Messages> Messages { get; set; }

            public EntityCollection<Messages> Messages1 { get; set; }

            public string MobileAlias { get; set; }

            public EntityCollection<User_Personal_Data> User_Personal_Data { get; set; }

            public EntityCollection<User_Settings> User_Settings { get; set; }

            public Guid UserId { get; set; }

            public string UserName { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies CitiesMetadata as the class
    // that carries additional metadata for the Cities class.
    [MetadataTypeAttribute(typeof(Cities.CitiesMetadata))]
    public partial class Cities
    {

        // This class allows you to attach custom attributes to properties
        // of the Cities class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class CitiesMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private CitiesMetadata()
            {
            }

            public int CityId { get; set; }

            public string CityName { get; set; }

            public Countries Countries { get; set; }

            public Nullable<int> Country { get; set; }

            public EntityCollection<User_Personal_Data> User_Personal_Data { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies ContactListsMetadata as the class
    // that carries additional metadata for the ContactLists class.
    [MetadataTypeAttribute(typeof(ContactLists.ContactListsMetadata))]
    public partial class ContactLists
    {

        // This class allows you to attach custom attributes to properties
        // of the ContactLists class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ContactListsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private ContactListsMetadata()
            {
            }

            public aspnet_Users aspnet_Users { get; set; }

            public int ContactListId { get; set; }

            public EntityCollection<Contacts> Contacts { get; set; }

            public Guid UserId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies ContactsMetadata as the class
    // that carries additional metadata for the Contacts class.
    [MetadataTypeAttribute(typeof(Contacts.ContactsMetadata))]
    public partial class Contacts
    {

        // This class allows you to attach custom attributes to properties
        // of the Contacts class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ContactsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private ContactsMetadata()
            {
            }

            public int ContactId { get; set; }

            public int ContactListId { get; set; }

            public ContactLists ContactLists { get; set; }

            public string DisplayName { get; set; }

            public string FirstName { get; set; }

            public string LastName { get; set; }

            public string UserName { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies ConversationsMetadata as the class
    // that carries additional metadata for the Conversations class.
    [MetadataTypeAttribute(typeof(Conversations.ConversationsMetadata))]
    public partial class Conversations
    {

        // This class allows you to attach custom attributes to properties
        // of the Conversations class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class ConversationsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private ConversationsMetadata()
            {
            }

            public aspnet_Users aspnet_Users { get; set; }

            public aspnet_Users aspnet_Users1 { get; set; }

            public int ConversationId { get; set; }

            public EntityCollection<Messages> Messages { get; set; }

            public Nullable<Guid> UserId_Init { get; set; }

            public Nullable<Guid> UserId_Recip { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies CountriesMetadata as the class
    // that carries additional metadata for the Countries class.
    [MetadataTypeAttribute(typeof(Countries.CountriesMetadata))]
    public partial class Countries
    {

        // This class allows you to attach custom attributes to properties
        // of the Countries class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class CountriesMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private CountriesMetadata()
            {
            }

            public EntityCollection<Cities> Cities { get; set; }

            public int CountryId { get; set; }

            public string CountryName { get; set; }

            public EntityCollection<User_Personal_Data> User_Personal_Data { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies MessagesMetadata as the class
    // that carries additional metadata for the Messages class.
    [MetadataTypeAttribute(typeof(Messages.MessagesMetadata))]
    public partial class Messages
    {

        // This class allows you to attach custom attributes to properties
        // of the Messages class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class MessagesMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private MessagesMetadata()
            {
            }

            public aspnet_Users aspnet_Users { get; set; }

            public aspnet_Users aspnet_Users1 { get; set; }

            public int ConversationId { get; set; }

            public Conversations Conversations { get; set; }

            public int MessageId { get; set; }

            public string MessageText { get; set; }

            public DateTime Time { get; set; }

            public Nullable<Guid> UserId_Recipient { get; set; }

            public Nullable<Guid> UserId_Sender { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies User_Personal_DataMetadata as the class
    // that carries additional metadata for the User_Personal_Data class.
    [MetadataTypeAttribute(typeof(User_Personal_Data.User_Personal_DataMetadata))]
    public partial class User_Personal_Data
    {

        // This class allows you to attach custom attributes to properties
        // of the User_Personal_Data class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class User_Personal_DataMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private User_Personal_DataMetadata()
            {
            }
            [Include]
            public aspnet_Users aspnet_Users { get; set; }
            [Include]
            public Cities Cities { get; set; }

            public Nullable<int> City { get; set; }
            [Include]
            public Countries Countries { get; set; }

            public Nullable<int> Country { get; set; }

            public string FirstName { get; set; }

            public string LastName { get; set; }

            public string PostCode { get; set; }

            public string Sex { get; set; }

            public string Street { get; set; }

            public Guid UserId { get; set; }

            public int UserPersonalDataId { get; set; }
        }
    }

    // The MetadataTypeAttribute identifies User_SettingsMetadata as the class
    // that carries additional metadata for the User_Settings class.
    [MetadataTypeAttribute(typeof(User_Settings.User_SettingsMetadata))]
    public partial class User_Settings
    {

        // This class allows you to attach custom attributes to properties
        // of the User_Settings class.
        //
        // For example, the following marks the Xyz property as a
        // required property and specifies the format for valid values:
        //    [Required]
        //    [RegularExpression("[A-Z][A-Za-z0-9]*")]
        //    [StringLength(32)]
        //    public string Xyz { get; set; }
        internal sealed class User_SettingsMetadata
        {

            // Metadata classes are not meant to be instantiated.
            private User_SettingsMetadata()
            {
            }

            public aspnet_Users aspnet_Users { get; set; }

            public string InternetAddress { get; set; }

            public Nullable<bool> ShowCamAvailable { get; set; }

            public Nullable<bool> Spamable { get; set; }

            public Nullable<int> Status { get; set; }

            public Guid UserId { get; set; }

            public int UserSettingsId { get; set; }

            public bool VisibleInCatalog { get; set; }

            public Nullable<bool> WebCamAvailable { get; set; }
        }
    }
}
